*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,html{
  width: 100%;
  height: 100%;

}
.themea{--bc:#e7eaee;--bgc:#fff;--fc:#000;--lc:#fff; --hbgc:#fff;--but:#f5f5f5;}

.themeb{--bc:#000;--bgc:#363c48;--fc:#fff;--lc:#50535a;--hbgc:#000;--but:#5e636d;}

.searchPage{
  width: 70%;
  margin: 0 auto;
  padding-top: 50px;
  h1{
    display: flex;
    justify-content: space-between;
    height: 40px;
    .esc{
      display: flex;
      font-size: 12px;
      flex-direction: column;
      align-items: center;
      margin: 0;
      padding: 0; 
      cursor: pointer;
    }
  }
  input{
    width: 95%;
    height: 40px;
    border:solid 1px #ccc;
    padding-left: 20px;
  
  }
  input::placeholder{
    font-size: 16px;
    color: #ccc;
  }
  button{
    width: 5%;
    height: 40px;
    background: #fff;
    border:solid 1px #ccc;
    position: relative;
    top: 1px;
    border-left: none;
  }
  ul{
    li{
      margin: 20px 0;
      font-size: 16px;
      a{
        color: #000;
      }
      
    }
  }
}
  .box{
  width: 100%;
  height: 100%;
  .header{
    width: 100%;
    height: 64px;
    background-color:var(--hbgc);
    display: flex;
    justify-content: center;
    border-bottom: solid 1px var(--lc);
    position: relative;
    z-index: 99;

    .menu{
      width: 1140px;
      height: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      img{
        width: 100px;
        height: 36px;
        margin-right: 64px;
      }
      .right{
        width: 976px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .tab{
          font-size: 16px;
          a{
            margin:0 18px;
            color: var(--fc);

          }
          a:hover{
            color: red;
          }
          .active{
            color:red
          }
        }
        .light{
          display: flex;
          justify-content: space-around;
          align-items: center;
          span{
            font-size: 23px;
            margin: 0 20px;
          }
     .sun{
       display: inline-block;
       transition: 0.5s;
       font-size: 30px;
       color: orange;
       
     }
     .moon{
      display: inline-block;
      transition: 0.2s;
      font-size: 30px;
      color: pink;
      transform: rotate(360deg);
     }
     .sun:hover{
       transform: rotate(-25deg);
     }
     .moon:hover{
       transform: rotate(325deg);
     }
     .z_e{
      color: var(--fc);
     }
     .z_e:hover{
       color: red;
     }
     .search{
       font-weight: bold;
      color: var(--fc);
     }
     .search:hover{
       color: red;
     }
      }}
    }
  }
 main{
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: var(--bc);
  
  .box3{
    width: 100%;
  
  }
  .box2{
    width: 1140px;
    display: flex;
    padding: 18px 0;
    justify-content: space-between;
    .box1{
    // right: 0;
      width: 804px;
    }
  }
 }
  footer{
    width: 100%;
    height: 140px;
    background-color: #000;
    color: #fff;
    position: relative;
    z-index: 99;
    div{
      text-align: center;
      a{
        color:grey;
        font-size: 18px;
        margin: 20px 5px;
      }
    }
    p{
      margin: 0;
      text-align: center;
    }
  }
}
@media screen and (min-width:992px) and (max-width:1200px){
  .box{
    .header{
      .menu{
        width: 970px;
        .right{
          width: 806px;
        }
      }
    }
    main{
      .box3{
        width: 970px;
      }
      .box2{
        width: 970px;
        .box1{
          width: 634px;
        }
      }
    }
   
  }
 
}
@media screen and (min-width:768px) and (max-width:992px){
  .box{
    .header{
      .menu{
        width: 768px;
        .right{
          width: 604px;
        }
      }
    }
    main{
      .box3{
        width: 768px;
      }
      .box2{
        width: 768px;
        .box1{
          width:432px;
        }
      }
    }
   
  }
}
@media screen and (max-width:768px) {
  .box{
    main{
      .box3{
        width: 100%;
      }
      .box2{
        width: 100%;
        .box1{
          width: 100%;
        }
      }
    }
    .header{
    position: relative;
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    img{
      width: 100px;
      height: 36px;
      margin-right: 64px;
    }
    .menuB{
      color: red;
      font-size: 16px;
    }
    .menu{
      width: 100%;
      height: 0;
      opacity:0;
      position: absolute;
      top: 64px;
      left: 0;
      background-color: var(--bc);
      display: flex;
      flex-direction: column;
      z-index: 99999999;
      
      li{
        margin: 0 auto;
        padding: 0;
        a{
          color: #000;
        }
        a:hover{
          color: red;
        }
        .active{
          color:red
        }
        
      }
      .sun{
        display: inline-block;
        transition: 0.5s;
        font-size: 30px;
        color: orange;
        
      }
      .moon{
       display: inline-block;
       transition: 0.2s;
       font-size: 30px;
       color: pink;
       transform: rotate(360deg);
      }
      .sun:hover{
        transform: rotate(-25deg);
      }
      .moon:hover{
        transform: rotate(325deg);
      }
      .z_e{
       color: var(--fc);
      }
      .z_e:hover{
        color: red;
      }
      .search{
        font-weight: bold;
       color: var(--fc);
      }
      .search:hover{
        color: red;
      }
    }
    .menu1{
      width: 100%;
      height: auto;
      opacity: 1;
      
      position: absolute;
      top: 64px;
      left: 0;
      background-color: var(--bgc);
      display: flex;
      flex-direction: column;
      z-index: 99999999;
      li{
        margin: 0 auto;
        padding: 0;
        font-size: 16px;
        a{
          color:var(--fc);
        }
        a:hover{
          color: red;
        }
        .active{
          color:red
        }
       
      }
      .sun{
        display: inline-block;
        transition: 0.5s;
        font-size: 30px;
        color: orange;
        
      }
      .moon{
       display: inline-block;
       transition: 0.2s;
       font-size: 30px;
       color: pink;
       transform: rotate(360deg);
      }
      .sun:hover{
        transform: rotate(-25deg);
      }
      .moon:hover{
        transform: rotate(325deg);
      }
      .z_e{
       color: var(--fc);
      }
      .z_e:hover{
        color: red;
      }
      .search{
        font-weight: bold;
       color: var(--fc);
      }
      .search:hover{
        color: red;
      }
    }
  }
}
  
}


